﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucFilter.ascx.cs" Inherits="WSBulTasDesa.UserControls.ucFilter" %>
<table style="width: 100%;">
    <tr>
        <td>
            Provincia
        </td>
        <td>
            <asp:DropDownList ID="ddlProvinces" runat="server" AppendDataBoundItems="True" SkinID="ddlSelect">
            </asp:DropDownList>
        </td>
        <td>
            Región
        </td>
        <td>
            <asp:DropDownList ID="ddlRegions" runat="server" AppendDataBoundItems="True" SkinID="ddlSelectShort">
            </asp:DropDownList>
        </td>
        <td>
            Nombre
        </td>
        <td>
            <asp:TextBox ID="txtEstablishmentName" runat="server" SkinID="txtLongString"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td>
            Departamento
        </td>
        <td>
            <asp:DropDownList ID="ddlDepartments" runat="server" SkinID="ddlSelect">
            </asp:DropDownList>
        </td>
        <td>
            Zona
        </td>
        <td>
            <asp:DropDownList ID="ddlZones" runat="server" SkinID="ddlSelectShort">
            </asp:DropDownList>
        </td>
        <td colspan="2">
            Desde
            <asp:TextBox ID="txtFromDate" runat="server" SkinID="txtDate"></asp:TextBox>
            <ajaxToolkit:CalendarExtender ID="calFromDate" runat="server" Format="dd/MM/yyyy"
                TargetControlID="txtFromDate">
            </ajaxToolkit:CalendarExtender>
            Hasta
            <asp:TextBox ID="txtToDate" runat="server" SkinID="txtDate"></asp:TextBox>
            <ajaxToolkit:CalendarExtender ID="calToDate" runat="server" Format="dd/MM/yyyy" TargetControlID="txtToDate">
            </ajaxToolkit:CalendarExtender>
        </td>
    </tr>
</table>
<ajaxToolkit:CascadingDropDown ID="CascadingDropDownR" runat="server" TargetControlID="ddlRegions"
    Category="Region" PromptText="<Todas>" ServicePath="Service.asmx" ServiceMethod="GetRegions" />
<ajaxToolkit:CascadingDropDown ID="CascadingDropDownZ" runat="server" TargetControlID="ddlZones"
    ParentControlID="ddlRegions" PromptText="<Todas>" LoadingText="Cargando" ServiceMethod="GetZones"
    ServicePath="Service.asmx" Category="Zone" />
<ajaxToolkit:CascadingDropDown ID="CascadingDropDownP" runat="server" TargetControlID="ddlProvinces"
    Category="Province" PromptText="<Todas>" ServicePath="~/UserControls/Service.asmx"
    ServiceMethod="GetProvinces" />
<ajaxToolkit:CascadingDropDown ID="CascadingDropDownD" runat="server" TargetControlID="ddlDepartments"
    ParentControlID="ddlProvinces" PromptText="<Todos>" LoadingText="Cargando" ServiceMethod="GetDepartments"
    ServicePath="~/UserControls/Service.asmx" Category="Department" />
